﻿using ControlzEx.Standard;
using SuporeSliplampApp.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SuporeSliplampApp.Models
{
    public class PatientModel:NotifyBase
    {
		private string _name;

		public string Name
		{
			get { return _name; }
			set { _name = value; this.NotifyChanged(); }
		}

		private string _p_id;

		public string P_ID
		{
			get { return _p_id; }
			set { _p_id = value; this.NotifyChanged(); }
		}

		private string _sex;

		public string SEX
		{
			get { return _sex; }
			set { _sex = value; this.NotifyChanged(); }
		}

		private DateTime _birth;

		public DateTime Birth
		{
			get { return _birth; }
			set { _birth = value; this.NotifyChanged(); }
		}

        private string _str_birth;

        public string Str_Birth
        {
            get { return _str_birth; }
            set { _str_birth = value; this.NotifyChanged(); }
        }

        private string _adreess;

		public string Adreess
		{
			get { return _adreess; }
			set { _adreess = value; this.NotifyChanged(); }
		}

		private string _phoneNum;

		public string PhoneNum
		{
			get { return _phoneNum; }
			set { _phoneNum = value;this.NotifyChanged(); }
		}

		private string _email;

		public string Email
		{
			get { return _email; }
			set { _email = value;this.NotifyChanged(); }
		}

		private string _creator;

		public string Creator
		{
			get { return _creator; }
			set { _creator = value; this.NotifyChanged(); }
		}

		private DateTime insertDate;

		public DateTime InsertDate
        {
			get { return insertDate; }
			set { insertDate = value; this.NotifyChanged(); }
		}

		private bool isChecked;
		public bool IsSelected
		{
            get { return isChecked; }
            set { isChecked = value; this.NotifyChanged(); }
        }

	}
}
